
var express = require('express')
var Finance = require('../controller/finance')
var router = express.Router()

router.get('/', Finance.getAll);
router.get('/:id', Finance.get);
router.put('/:id', Finance.put);
router.post('/', Finance.post);
router.delete('/:id', Finance.delete);

module.exports = router